package org.fanrui.hrm.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 审核Dto
 *
 * @author fanrui
 */
@Data
@TableName("t_audit")
public class AuditDto {
    /**
     * 审核id
     */
    private Long id;
    /**
     * 审核状态
     */
    private int state;
    /**
     * 机构id
     */
    @TableField("tenant_id")
    private String tenantId;
    /**
     * 备注
     */
    private String remark;
    /**
     * 审核时间
     */
    @TableField("audit_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date auditTime = new Date();
    /**
     * 审核人
     */
    @TableField("audit_person")
    private String auditPerson;
}
